//
//  ViewController.swift
//  DEMO
//
//  Created by J on 16/4/27.
//  Copyright © 2016年 J. All rights reserved.
//

import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
        
        let person = Person()
        Person.ocMethod()//Class Method
        person.ocMethod()//instance Method
        
        //OC调用Swift类
        //1.引入module-swift.h 文件
        //2.swiftclass中添加 @objc(暴露给oc的类名用于引用当前类)
        //调用方法

    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }


}

